import request from '@/utils/request'
//问题类型
export function questionType() {
    return request({
      url: '/agencyManager/professorService/getQuestTypeList',
      method: 'post'
    })
}
//专家列表
export function expertList(params) {
    return request({
      url: '/mgrService/mgrProfessor/agencyProfessorAskList',
      method: 'post',
      data: params
    })
}
// 获取追问回复详情分页
export function replyAnswerList(params) {
  return request({
    url: '/agencyManager/professorService/replyAnswerList',
    method: 'post',
    data: params
  })
}
// 问答详情追问
export function replyAnswer(params) {
  return request({
    url: '/agencyManager/professorService/replyAnswer',
    method: 'post',
    data: params
  })
}
//前台显示
export function isShowQuestion(params) {
    return request({
      url: '/agencyManager/professorService/changeStatus',
      method: 'post',
      data: params
    })
}
//专家列表
export function expert(params) {
    return request({
      url: '/agencyManager/agency/employess/getProfessorList',
      method: 'post',
      data: params
    })
}
//专家回复
export function showReply(params) {
    return request({
      url: '/agencyManager/professorService/getAnswers',
      method: 'post',
      data: params
    })
}

//专家回复
export function expertReply(params) {
    return request({
      url: '/agencyManager/professorService/professorAnswer',
      method: 'post',
      data: params
    })
}